package com.yuanqiao.interfaceforlc.uploadmatterandfile.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface uploadDao {
    String getfileString(@Param("serialNo") String serialNo, @Param("docId") String docId,@Param("fileId") String fileId);

    int savem(@Param("uploadtype")String uploadtype, @Param("serialNo")String serialNo, @Param("docId")String docId,@Param("docNo") String docNo,@Param("fileId") String fileId,@Param("fileNo") String fileNo,@Param("url") String url,@Param("uploadTime")String uploadTime,@Param("id")String id);

    int savef(@Param("uploadtype")String uploadtype,@Param("serialNo") String serialNo,@Param("docId") String docId,@Param("docNo") String docNo,@Param("fileId") String fileId,@Param("fileNo") String fileNo,@Param("url") String url,@Param("uploadTime")String uploadTime,@Param("id")String id);

    void deletesamefileIddile(@Param("serialNo")String serialNo,@Param("docId") String docId,@Param("fileId") String fileId);

    int deletefile(@Param("fileId")String id);

    String geturlbyfileid(@Param("fileId")String id);

    List queryAllfile(@Param("serialNo")String serialNo);

    int insertmargePDF(@Param("fileId")String fileId, @Param("url")String url,@Param("id") String id);

    String chooseshenqingshu(@Param("bigEntType") String bigEntType);
}
